Skip to content

config_drive: ensure the search locations are ordered alphabetically#202

Draft
ader1990 wants to merge 3 commits into
cloudbase:masterfrom
ader1990:config_drive_location_deterministic
Draft

config_drive: ensure the search locations are ordered alphabetically#202
ader1990 wants to merge 3 commits into
cloudbase:masterfrom
ader1990:config_drive_location_deterministic

Conversation

@ader1990
Copy link
Copy Markdown
Member

@ader1990 ader1990 commented Jun 5, 2026

No description provided.

ader1990 added 3 commits June 5, 2026 16:30
Change-Id: Ib5920afae493f8d4251e3a1f5ffdab6886d046a1
Signed-off-by: Adrian Vladu <avladu@cloudbasesolutions.com>
Change-Id: Iea9cd3f2fe2ea9f935cd0ac8c313cde7869f5c19
Signed-off-by: Adrian Vladu <avladu@cloudbasesolutions.com>
The internal Python implementation for the configured config drive
search locations is not deterministic.

Make it deterministic by using alphabetically sorted order.

In this case, the search order becomes:

  - type: iso, vfat
  - location: cdrom, hdd, partition

Change-Id: I622700c9408d3acee6d44eabfd73c662df7e7cfd
Signed-off-by: Adrian Vladu <avladu@cloudbasesolutions.com>
@ader1990 ader1990 marked this pull request as draft June 5, 2026 13:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant